<!--  -->
<template>
  <div class="check_system_body">
    <div class="check_system_centen" @click="toNewTeamMember">
      <p class="check_system_centen_p">新会员注册</p>
    </div>
    <div class="check_system_centen" @click="toOldTeamMemberList">
      <p class="check_system_centen_p">现有会员缴费</p>
    </div>
  </div>
</template>

<script>
import { Indicator, Toast } from "mint-ui";
export default {
  name: "",
  data() {
    return {
      audit_status: "",
    };
  },
  mounted() {
    this.tuantilist();
  },
  methods: {
    tuantilist() {
      let that = this;
      let url = "/mobile/getAssociationVipInfo";
      let data = {};
      Indicator.open();
      this.axios
        .post(url, data)
        .then((response) => {
          Indicator.close();
          if (response.code == 0) {
            console.log(response);
            this.audit_status = response.record.audit_status;
          } else {
            Toast({
              message: response.msg,
              duration: 3000,
            });
          }
        })
        .catch(function (error) {
          Indicator.close();
          console.log(error);
        });
    },
    // 新会员注册
    toNewTeamMember() {
      this.$router.push({
        name: "tuantihuiyuan",
      });
    },
    // 现有会员缴费
    toOldTeamMemberList() {
      this.$router.push({
        name: "OldTeamMemberList",
      });
    },
  },
};
</script>

<style scoped>
.check_system_body {
  width: 100vw;
  /* padding: 0.8rem 0 0; */
  box-sizing: border-box;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.check_system_centen {
  width: 90%;
  padding: 2.5%;
  margin-top: 0.5rem;
  opacity: 1;
  height: 2rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 1);
  box-shadow: 4px 4px 20px 2px rgba(214, 214, 214, 0.25);
}
.check_system_centen_img {
  width: 0.64rem;
  height: 0.64rem;
  opacity: 1;
}
.check_system_centen_p {
  margin-left: 0.2rem;
  font-size: 0.3rem;
  font-weight: 600;
  letter-spacing: 0px;

  color: rgba(0, 0, 0, 1);
}
</style>
